<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>popot-2.01: popot::PSO::algorithm Namespace Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">popot-2.01
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepopot.html">popot</a>      </li>
      <li class="navelem"><a class="el" href="namespacepopot_1_1PSO.html">PSO</a>      </li>
      <li class="navelem"><a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html">algorithm</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">popot::PSO::algorithm Namespace Reference</div>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopot_1_1PSO_1_1algorithm_1_1Base.html">Base</a></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953">EvaluationMode</a> { <a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953a67a81521f1b22188ac9273610f6cfdad">SYNCHRONOUS_EVALUATION</a>, 
<a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953a7af951ab1a5d7cb85ee4fd1176e872e0">ASYNCHRONOUS_EVALUATION</a>, 
<a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953ae070687937fd58a1308a3e7cd25f2601">ASYNCHRONOUS_WITHOUT_SHUFFLE_EVALUATION</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename LBOUND_FUNC , typename UBOUND_FUNC , typename STOP_CRITERIA , typename COST_FUNCTION , typename TOPOLOGY , typename UPDATE_POSITION_RULE , typename UPDATE_VELOCITY_RULE , typename UPDATE_BEST_POSITION_RULE , typename CONFINE_FUNCTION , typename INIT_POSITION_FUNCTION , typename INIT_VELOCITY_FUNCTION , typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classpopot_1_1PSO_1_1algorithm_1_1Base.html">Base</a>&lt; LBOUND_FUNC, UBOUND_FUNC, <br class="typebreak"/>
STOP_CRITERIA, COST_FUNCTION, <br class="typebreak"/>
TOPOLOGY, UPDATE_POSITION_RULE, <br class="typebreak"/>
UPDATE_VELOCITY_RULE, <br class="typebreak"/>
UPDATE_BEST_POSITION_RULE, <br class="typebreak"/>
CONFINE_FUNCTION, <br class="typebreak"/>
INIT_POSITION_FUNCTION, <br class="typebreak"/>
INIT_VELOCITY_FUNCTION, <br class="typebreak"/>
PARTICLE &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a12c2af29b09b1b5beecafc31076ce47a">base</a> (size_t swarm_size, size_t dimension, const LBOUND_FUNC &amp;lbound, const UBOUND_FUNC &amp;ubound, const STOP_CRITERIA &amp;stop, const COST_FUNCTION &amp;cost_function, const TOPOLOGY &amp;topology, const UPDATE_POSITION_RULE &amp;update_position_rule, const UPDATE_VELOCITY_RULE &amp;update_velocity_rule, const UPDATE_BEST_POSITION_RULE &amp;update_best_position_rule, const CONFINE_FUNCTION &amp;confine_function, const INIT_POSITION_FUNCTION &amp;init_position_function, const INIT_VELOCITY_FUNCTION &amp;init_velocity_function, const PARTICLE &amp;p, <a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953">EvaluationMode</a> evaluation_mode, bool reevaluate_best_before_updating)</td></tr>
</table>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a1807a99f98f02dd70a74ab24d56f0953"></a><!-- doxytag: member="popot::PSO::algorithm::EvaluationMode" ref="a1807a99f98f02dd70a74ab24d56f0953" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacepopot_1_1PSO_1_1algorithm.html#a1807a99f98f02dd70a74ab24d56f0953">popot::PSO::algorithm::EvaluationMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a1807a99f98f02dd70a74ab24d56f0953a67a81521f1b22188ac9273610f6cfdad"></a><!-- doxytag: member="SYNCHRONOUS_EVALUATION" ref="a1807a99f98f02dd70a74ab24d56f0953a67a81521f1b22188ac9273610f6cfdad" args="" -->SYNCHRONOUS_EVALUATION</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1807a99f98f02dd70a74ab24d56f0953a7af951ab1a5d7cb85ee4fd1176e872e0"></a><!-- doxytag: member="ASYNCHRONOUS_EVALUATION" ref="a1807a99f98f02dd70a74ab24d56f0953a7af951ab1a5d7cb85ee4fd1176e872e0" args="" -->ASYNCHRONOUS_EVALUATION</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1807a99f98f02dd70a74ab24d56f0953ae070687937fd58a1308a3e7cd25f2601"></a><!-- doxytag: member="ASYNCHRONOUS_WITHOUT_SHUFFLE_EVALUATION" ref="a1807a99f98f02dd70a74ab24d56f0953ae070687937fd58a1308a3e7cd25f2601" args="" -->ASYNCHRONOUS_WITHOUT_SHUFFLE_EVALUATION</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a12c2af29b09b1b5beecafc31076ce47a"></a><!-- doxytag: member="popot::PSO::algorithm::base" ref="a12c2af29b09b1b5beecafc31076ce47a" args="(size_t swarm_size, size_t dimension, const LBOUND_FUNC &amp;lbound, const UBOUND_FUNC &amp;ubound, const STOP_CRITERIA &amp;stop, const COST_FUNCTION &amp;cost_function, const TOPOLOGY &amp;topology, const UPDATE_POSITION_RULE &amp;update_position_rule, const UPDATE_VELOCITY_RULE &amp;update_velocity_rule, const UPDATE_BEST_POSITION_RULE &amp;update_best_position_rule, const CONFINE_FUNCTION &amp;confine_function, const INIT_POSITION_FUNCTION &amp;init_position_function, const INIT_VELOCITY_FUNCTION &amp;init_velocity_function, const PARTICLE &amp;p, EvaluationMode evaluation_mode, bool reevaluate_best_before_updating)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename LBOUND_FUNC , typename UBOUND_FUNC , typename STOP_CRITERIA , typename COST_FUNCTION , typename TOPOLOGY , typename UPDATE_POSITION_RULE , typename UPDATE_VELOCITY_RULE , typename UPDATE_BEST_POSITION_RULE , typename CONFINE_FUNCTION , typename INIT_POSITION_FUNCTION , typename INIT_VELOCITY_FUNCTION , typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopot_1_1PSO_1_1algorithm_1_1Base.html">Base</a>&lt;LBOUND_FUNC, UBOUND_FUNC, STOP_CRITERIA, COST_FUNCTION, TOPOLOGY, UPDATE_POSITION_RULE, UPDATE_VELOCITY_RULE, UPDATE_BEST_POSITION_RULE, CONFINE_FUNCTION, INIT_POSITION_FUNCTION, INIT_VELOCITY_FUNCTION, PARTICLE&gt; popot::PSO::algorithm::base </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>swarm_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>dimension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const LBOUND_FUNC &amp;&#160;</td>
          <td class="paramname"><em>lbound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const UBOUND_FUNC &amp;&#160;</td>
          <td class="paramname"><em>ubound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const STOP_CRITERIA &amp;&#160;</td>
          <td class="paramname"><em>stop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const COST_FUNCTION &amp;&#160;</td>
          <td class="paramname"><em>cost_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TOPOLOGY &amp;&#160;</td>
          <td class="paramname"><em>topology</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const UPDATE_POSITION_RULE &amp;&#160;</td>
          <td class="paramname"><em>update_position_rule</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const UPDATE_VELOCITY_RULE &amp;&#160;</td>
          <td class="paramname"><em>update_velocity_rule</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const UPDATE_BEST_POSITION_RULE &amp;&#160;</td>
          <td class="paramname"><em>update_best_position_rule</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const CONFINE_FUNCTION &amp;&#160;</td>
          <td class="paramname"><em>confine_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const INIT_POSITION_FUNCTION &amp;&#160;</td>
          <td class="paramname"><em>init_position_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const INIT_VELOCITY_FUNCTION &amp;&#160;</td>
          <td class="paramname"><em>init_velocity_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">EvaluationMode&#160;</td>
          <td class="paramname"><em>evaluation_mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>reevaluate_best_before_updating</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5
</small></address>

</body>
</html>
